import request from '@/utils/request'
//登录
export function login(data) {
	return request({
		url: '/api/login',
		method: 'post',
		data
	})
}
//根据token获取系统登录用户信息
export function getInfo(param) {
	return request({
		url: '/api/getSysUserInfo',
		method: 'get',
		param
	})
}
//注销
export function logout(data) {
	return request({
		url: '/api/logout',
		method: 'post',
		data
	})
}
